package com.zhengjiang.log4j2.demo.exception;

import lombok.Getter;

/**
 * @ClassName ServiceException
 * @Description
 * @Author zhengjiang(99514925 @ qq.com)
 * @Date 2020-06-24 17:23
 * @Version V1.0
 **/
@Getter
public class ServiceException extends RuntimeException {

    private final String code;
    public ServiceException(String code,String msg){
        super(msg);
        this.code = code;
    }
}
